<!-- bootstrap-select -->
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box">
                <div class="box-header">
                    <h3 class="box-title" style="line-height:33px">所有飞行计划</h3>
                    <!-- <button id="approves" type="button" style="float:right" class="btn btn-info margin-r-5" data-url="plan-check.html" data-rights="">审核</button>-->
                    <button id="add" type="button" style="float:right" class="btn btn-info margin-r-5"
                            data-toggle="modal" data-target="#myModal">添加飞行计划
                    </button>
                </div>
                <!-- /.box-header -->
                <div class="box-tools" style="border-radius: 0 0 3px 3px; padding:0 10px;">

                </div>
                <div class="box-body">
                    <div class="dataTables_wrapper form-horizontal dt-bootstrap">
                        <form id="searchForm">
                            <div class="col-sm-12 filter-block">
                                <div class="col-sm-5">
                                    <div class="form-group">
                                        <label class="col-sm-4 control-label">起飞时间</label>
                                        <div class="col-sm-8">
                                            <input type="text" value="" id="searchTakeoff" name="searchTakeoff" class="form-control"
                                                   placeholder="计划起飞时间">
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-5">
                                    <div class="form-group">
                                        <label class="col-sm-4 control-label">降落时间</label>
                                        <div class="col-sm-8">
                                            <input type="text" value="" id="searchLanding" name="searchLanding" class="form-control"
                                                   placeholder="计划降落时间">
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-5">
                                    <div class="form-group">
                                        <label class="col-sm-4 control-label">公司</label>
                                        <div class="col-sm-8">
                                            <select name="cid" id="searchCompanys" class="form-control">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-5">
                                    <div class="form-group">
                                        <label class="col-sm-4 control-label">状态</label>
                                        <div class="col-sm-8">
                                            <select id="searchState" class="form-control">
                                                <option value="">请选择</option>
                                                <option value="0">未提交审核</option>
                                                <option value="1">审核中</option>
                                                <option value="2">审核通过</option>
                                                <option value="3">审核拒绝</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-1 pull-right">
                                    <button data-rights="3001" id="search" type="submit"
                                            class="btn btn-default margin-r-5">搜索
                                    </button>
                                </div>

                            </div>
                        </form>
                    </div>
                    <table id="mmg" class="table table-bordered table-striped">
                        <thead>
                        <tr>
                            <th>批次</th>
                            <th>空域</th>
                            <th>公司名称</th>
                            <th>飞行器编号</th>
                            <th>飞行器型号</th>
                            <th>飞行员</th>
                            <th>审批状态</th>
                            <th>预计开始时间</th>
                            <th>预计结束时间</th>
                            <th>架次</th>
                            <th>真高</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>

                        </tbody>
                    </table>
                </div>
                <!-- /.box-body -->
            </div>
            <!-- /.box -->
        </div>
        <!-- /.col -->
    </div>
    <!-- /.row -->
    <!-- 弹出层 -->
    <div class="modal fade" id="myModal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"
         data-backdrop="false">
        <div class="modal-dialog">

        </div>
    </div>
    <!-- /.modal -->
    <!-- 删除弹出层 -->
    <div class="modal fade" id="removeModal" role="dialog" aria-labelledby="removeModalLabel"
         aria-hidden="true" data-backdrop="false">
        <div class="modal-dialog">
            <div class="modal-content" style="border-radius: 5px;">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">×</span></button>
                    <h4 class="modal-title">删除飞行员</h4>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal">
                        <span>确认删除此设备?</span>
                        <div class="modal-footer">
                            <button type="button" class="btn btn-primary btn-sm remove-btn" data-dismiss="modal">确定
                            </button>
                            <button type="button" class="btn btn-default btn-sm" data-dismiss="modal">关闭</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- /.modal -->
    <!-- 地图 -->
    <div class="modal fade" id="mapModal" role="dialog" aria-labelledby="mapModalLabel"
         aria-hidden="true" data-backdrop="false">
        <div class="modal-dialog" style="width:80%;height:90%;">

        </div>
    </div>
    <!-- 架次添加编辑弹出层 -->
    <div class="modal fade" id="sortieModal"  role="dialog" aria-labelledby="sortieModalLabel"
         aria-hidden="true" data-backdrop="false">
        <div class="modal-dialog" style="width: 800px">

        </div>
    </div>
    <!-- /.modal -->
    <!-- 架次添加编辑弹出层 -->
    <div class="modal fade" id="sortieFormModal"  role="dialog" aria-labelledby="sortieFormModalLabel"
         aria-hidden="true" data-backdrop="false">
        <div class="modal-dialog">

        </div>
    </div>
    <!-- /.modal -->
</section>
<script>
require(["plansIndex"],function (list) {
list.init();
$('#myModal').modal('hide')
})
</script>